    <include file="App/Admin/View/Public/left.html"/>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">代理商管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="{:U('Member/index')}" method="post">
                    <table class="search-tab">
                        <tr>
                            <td width="140">代理商账号:</td>
                            <td><input class="common-text" placeholder="关键字" name="username" type="text"></td>
                              <td width="140">代理商机构码：</td>
                            <td><input class="common-text" placeholder="ID" name="id" type="text"></td>
							<!-- <td width="70">会员账号:</td> -->
                            <!-- <td><input class="common-text" placeholder="会员姓名" name="name" type="text"></td> -->
							
                            <td><input class="btn btn-primary btn2"  value="查询" type="submit"></td>
                        </tr>
                    </table>
                </form>
				
            </div>
        </div>
        <div class="result-wrap">

            <!-- <div class="result-title"> -->
                <!-- <div class="result-list"> -->
                    <!-- <a href="{:U('Member/addMember')}"><i class="icon-font"></i>新增会员</a> -->
                <!-- </div> -->
            <!-- </div> -->
            <div class="result-content">
                <table class="result-tab" width="100%">
				<!-- <caption><span style="color:red;font-size:20px;">用户总余额：{$num} &nbsp;&nbsp;&nbsp;&nbsp;用户可用总余额：{$rmb} </span></caption> -->
				
					<!-- <caption><span style="color:red;font-size:20px;">用户冻结总余额：{$forzen_rmb} &nbsp;&nbsp;&nbsp;&nbsp;会员总量：{$member_sum} &nbsp;&nbsp;&nbsp;&nbsp;实名认证：{$member_ok}</span></caption> -->
                    <tr>
                        
                        <th>代理商机构码</th>
						<th>代理商账号</th>                      
						<th>添加时间</th>
                        <th>余额</th>
                        <th>操作</th>
                    </tr>
                    <volist name='list' id='vo'>
                        <tr>
                            <td>{$vo['admin_id']}</td>
                            <td>{$vo['username']}</td>
							<td>{$vo['add_time']|date='Y-m-d H:i:s',###}</td>
                            <td>{$vo['money']}</td>
                            <td>
								<a class="link-update" href="{:U('Agency/pay',array('id'=>$vo['admin_id']))}">充值</a>
                            </td>
                        </tr>
                    </volist>

                </table>
                <div class="list-page"> <ul>{$page}</ul></div>
            </div>

        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>
$(".sub-menu").eq(0).show();
$(".sub-menu").eq(0).children("li").eq(2).addClass("on");
</script>